﻿namespace AlgLrn
{
    class SearchThreadData
    {
        #region Private Fields
        private int[] _numbers;
        private int _searchType;
        private int _searchValue;
        private int _index;
        #endregion

        #region Constructors
        public SearchThreadData(int[] numbers, int searchType, int searchValue)
        {
            _numbers = numbers;
            _searchType = searchType;
            _searchValue = searchValue;
        }
        #endregion

        #region Public Properties
        public int[] Numbers
        {
            get
            {
                return _numbers;
            }
        }

        public int SearchType
        {
            get
            {
                return _searchType;
            }
        }

        public int SearchingValue
        {
            get
            {
                return _searchValue;
            }
        }

        public int Index
        {
            get
            {
                return _index;
            }

            set
            {
                _index = value;
            }
        }
        #endregion
    }
}
